{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>添加身份证</title>
</head>
{#<script type="text/javascript">#}
{#    function method01() {#}
{#        var v_window = window.opener;#}
{#        var v_select_content =v_window .document.getElementById('card');  // 获取前面下拉列表信息#}
{#        var v_text_content = document.getElementById('text01').value;#}
{#        v_select_content.add(new Option(v_text_content + "{{ v_text_content }}"));#}
{#    }#}
{#    function method02(){#}
{#        window.close();#}
{#    }#}
{#</script>#}

<body>
<form action="/app001/add_cardinfo/" method="post">
    身份证号：<input type="text" name="card_num" id="text01" onblur="method01()">
    <input type="submit" value="提交">
</form>
<script type="text/javascript" src="{% static 'js/json2.js' %}"></script>
<script type="text/javascript" src="{% static 'js/jquery-3.3.1.js' %}"></script>
<script type="text/javascript">

</script>
</body>
</html>